USE [NamaAlart]
GO

/****** Object:  StoredProcedure [dbo].[process_regist_bind]    Script Date: 04/26/2009 22:02:18 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO


CREATE PROCEDURE [dbo].[process_regist_bind]
@tid bigint,
@lid bigint
AS
SET NOCOUNT ON;
IF NOT EXISTS(SELECT ID FROM Bind WHERE Bind.LiveInfoID=@lid AND Bind.TagsID=@tid)
	INSERT INTO Bind(LiveInfoID,TagsID) VALUES(@lid,@tid);
SET NOCOUNT OFF;


GO


